<%--
  Created by IntelliJ IDEA.
  User: 刘邓
  Date: 2023-06-10
  Time: 8:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>系统管理员页面</title>
  <style>
    * {
      padding: 0;
      margin: 0;
      box-sizing: border-box;
    }
    ul li {
      list-style: none;
    }
    a{
      text-decoration: none;
    }
    .container {
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35), 0 10px 10px rgba(0, 0, 0, 0.22);
      position: relative;
      overflow: hidden;
      width: 80%;
      max-width: 100%;
      min-height: 480px;
      margin:0 auto;
    }
  </style>
</head>
<body>
<a href="/index.jsp" style="float: left;color: #7B68EE" id="exitLogin">退出登录</a>
<div style="border: 1px solid red;width: 500px;margin: 0 auto" class="container">
  <ul>
    <li style="width: 100%;padding: 20px;height: 30%;text-align: center">
      <a href="/home/manageUser.jsp" style="color: #ff4b2b">用户管理</a>
    </li>
    <li style="width: 100%;padding: 20px;height: 30%;text-align: center">
      <a href="/home/manageCard.jsp" style="color: #ff4b2b">名片管理</a>
    </li>
    <li style="width: 100%;padding: 20px;height: 30%; text-align: center">
      <a href="/home/manageRecyle.jsp" style="color: #ff4b2b">回收站管理</a>
    </li>
  </ul>
</div>

</body>
<script>
  let exit = document.getElementById("exitLogin");
  exit.addEventListener("click",function (e){
    let a = confirm("确定要退出吗?");
    if(a == false){
      e.preventDefault();
    }
  })
</script>
</html>
